package org.zengrong.assets {
	import flash.events.Event;
	import org.zengrong.assets.AssetsProgressVO;

	/**
	 * 用于Assets类在载入过程中发出的事件
	 * @author zrong
	 * @see org.zengrong.assets.Assets
	 */
	public class AssetsEvent extends Event {
		/**资源载入完成事件*/
		public static const COMPLETE:String = 'complete';
		/**碰到载入错误等需要发送信息*/
		public static const INFO:String = 'info';
		/**进度处理事件*/
		public static const PROGRESS:String = 'progress';

		
		public var vo:AssetsProgressVO;
		public var info:String;

		public function AssetsEvent($type:String, $vo:AssetsProgressVO = null, $bubbles:Boolean = false, $cancelable:Boolean = false){
			super($type, $bubbles, $cancelable);
			vo = $vo;
		}
		
		override public function clone():Event {
			return new AssetsEvent(type, vo, bubbles, cancelable);
		}
	}
}